package com.oms.domain;

import java.sql.Timestamp;

/**
 * Organizationattention entity. @author MyEclipse Persistence Tools
 */

public class Organizationattention implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = -5807817891774044580L;
	
	// Fields
	private Integer organizationPopularityId;
	private Massorganization massorganization;
	private User user;
	private Short organizationPopularityType;
	private Timestamp operateTime;

	// Constructors

	/** default constructor */
	public Organizationattention() {
	}

	/** minimal constructor */
	public Organizationattention(Massorganization massorganization, User user,
			Short organizationPopularityType) {
		this.massorganization = massorganization;
		this.user = user;
		this.organizationPopularityType = organizationPopularityType;
	}

	/** full constructor */
	public Organizationattention(Massorganization massorganization, User user,
			Short organizationPopularityType, Timestamp operateTime) {
		this.massorganization = massorganization;
		this.user = user;
		this.organizationPopularityType = organizationPopularityType;
		this.operateTime = operateTime;
	}

	// Property accessors

	public Integer getOrganizationPopularityId() {
		return this.organizationPopularityId;
	}

	public void setOrganizationPopularityId(Integer organizationPopularityId) {
		this.organizationPopularityId = organizationPopularityId;
	}

	public Massorganization getMassorganization() {
		return this.massorganization;
	}

	public void setMassorganization(Massorganization massorganization) {
		this.massorganization = massorganization;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Short getOrganizationPopularityType() {
		return this.organizationPopularityType;
	}

	public void setOrganizationPopularityType(Short organizationPopularityType) {
		this.organizationPopularityType = organizationPopularityType;
	}

	public Timestamp getOperateTime() {
		return this.operateTime;
	}

	public void setOperateTime(Timestamp operateTime) {
		this.operateTime = operateTime;
	}

}